#胡子荣
str1 = 'qwertyuiop'
str2 = '1234567'
print(str1[0])
print('qwertyuiop'[2])

print(str1[:])
print(str1[:3])
print(str2[::2])

h = 'Hello'
w = 'World'
hw = h + w
print(hw)

list1 = [1,2,3,4,5,6,7,8,9]
list2 = [1,2,1,2,1,2]
print(list1[6])

for l in list1:
    print(l)

print(min(list1))
print(max(list1))
print(list2.count(1))
print(list1.index(3))
print(list1 + list2)